export const column = [
    {
        title: '操作',
        name: 'action',
        width: '260',
        buttons: [
        ],
    },
    {
        label: 'ID',
        name: 'id',
    },
    {
        label: 'name',
        name: 'name',
    },
    {
        label: 'host',
        name: 'host',
    },
    {
        label: 'port',
        name: 'port',
    },
    {
        label: 'user',
        name: 'user',
    },
    {
        label: 'dbname',
        name: 'dbname',
    },
]

export const config = [
    {
        name: 'name',
        type: 'input',
        placeholder: '请输入name',
        label: 'name',
        required: true,
    },
    {
        name: 'host',
        type: 'input',
        placeholder: '请输入host',
        label: 'host',
        required: true,
    },
    {
        name: 'port',
        type: 'input',
        placeholder: '请输入port',
        label: 'port',
        required: true,
    },
    {
        name: 'user',
        type: 'input',
        placeholder: '请输入user',
        label: 'user',
        required: true,
    },
    {
        name: 'pwd',
        type: 'input',
        placeholder: '请输入pwd',
        label: 'pwd',
        required: true,
    },
    {
        name: 'dbname',
        type: 'input',
        placeholder: '请输入dbname',
        label: 'dbname',
        required: true,
    },
]

